Resource URL: /platform/<<version=1>>/fsa/results/<ID>

    Overview: This resource applies the standard collection item pattern to
              individual FSA result sets.  ID in the resource path is the
              result set ID.

     Methods: GET, PUT, DELETE

********************************************************************************

Method GET: Retrieve result set information.

       URL: GET /platform/<<version=1>>/fsa/results/<ID>

There are no query arguments for this method.

GET response body schema:
{
  "type": [
    {
      "additionalProperties": false, 
      "type": "object", 
      "description": "A list of errors that may be returned.", 
      "properties": {
        "errors": {
          "items": {
            "additionalProperties": false, 
            "type": "object", 
            "description": "An object describing a single error.", 
            "properties": {
              "field": {
                "type": "string", 
                "description": "The field with the error if applicable."
              }, 
              "message": {
                "type": "string", 
                "description": "The error message."
              }, 
              "code": {
                "type": "string", 
                "description": "The error code."
              }
            }
          }, 
          "type": "array"
        }
      }
    }, 
    {
      "additionalProperties": false, 
      "type": "object", 
      "properties": {
        "results": {
          "minItems": 0, 
          "items": {
            "type": "object", 
            "properties": {
              "properties_link": {
                "required": true, 
                "type": "string", 
                "description": "Resource to call to get result properties."
              }, 
              "job_state": {
                "items": {
                  "type": "string"
                }, 
                "required": true, 
                "type": "array", 
                "description": "State information about the FSA Job."
              }, 
              "content_path": {
                "required": true, 
                "type": [
                  "null", 
                  "string"
                ], 
                "description": "Path to results database."
              }, 
              "fsa_state": {
                "enum": [
                  "unknown", 
                  "work", 
                  "reduce", 
                  "publish"
                ], 
                "type": "string", 
                "description": "State of the result set.", 
                "required": true
              }, 
              "delete_link": {
                "required": true, 
                "type": [
                  "null", 
                  "string"
                ], 
                "description": "Resource to call with DELETE to remove results.."
              }, 
              "pinned": {
                "required": true, 
                "type": "boolean", 
                "description": "True if the result is pinned to prevent automatic removal."
              }, 
              "version": {
                "required": true, 
                "type": "integer", 
                "description": "FSA version used to create result set."
              }, 
              "end_time": {
                "required": true, 
                "type": "integer", 
                "description": "Unix Epoch time of end of results collection job."
              }, 
              "begin_time": {
                "required": true, 
                "type": "integer", 
                "description": "Unix Epoch time of start of results collection job."
              }, 
              "id": {
                "required": true, 
                "type": "integer", 
                "description": "The system generated result set ID."
              }
            }
          }, 
          "type": "array", 
          "maxItems": 4294967295
        }
      }
    }
  ]
}

********************************************************************************

Method PUT: Modify result set. Only the pinned property can be changed at this
            time.

       URL: PUT /platform/<<version=1>>/fsa/results/<ID>

There are no query arguments for this method.

PUT request body schema:
{
  "type": "object", 
  "properties": {
    "pinned": {
      "type": "boolean", 
      "description": "True if the result is pinned to prevent automatic removal."
    }
  }
}

There is no JSON response body for this method.

********************************************************************************

Method DELETE: Delete the result set.

          URL: DELETE /platform/<<version=1>>/fsa/results/<ID>

There are no query arguments for this method.

There is no JSON response body for this method.
